package org.gcb.core.model;

import java.util.Comparator;
import java.util.TreeMap;

/**
 *
 * @author Jason
 */
public class SkillSet extends TreeMap<String, Skill>{
    static final Comparator<String> mapComparator = new Comparator<String>() {

        @Override
        public int compare(String o1, String o2) {
            return o2.compareTo(o1);
        }
    };

    public SkillSet(Toon toon) {
        super(mapComparator);
        put("Acrobatics", new Skill(AbilityType.DEX, "Acrobatics", "Flips, cartwheels, sumersaults, etc.", toon, Boolean.TRUE, Boolean.FALSE));
        put("Arcana", new Skill(AbilityType.INT, "Arcana", "Knowledge of the magical arts.", toon, Boolean.FALSE));
        put("Athletics", new Skill(AbilityType.STR, "Athletics", "Gee, mister, you're real strong.", toon, Boolean.TRUE));
        put("Bluff", new Skill(AbilityType.CHA, "Bluff", toon, Boolean.FALSE, Boolean.FALSE));
        put("Diplomacy", new Skill(AbilityType.CHA, "Diplomacy", "Ability to reason with others.", toon, Boolean.FALSE, Boolean.FALSE));
        put("Dungeoneering", new Skill(AbilityType.WIS, "Dungeoneering", toon, Boolean.FALSE, Boolean.TRUE));
        
    }
}